package org.linlinjava.litemall.db.vo.wechat;

import org.linlinjava.litemall.db.vo.logistics.LogisticsGoodsData;

/**
 * @author wj
 * @date 2021/10/14 17:01
 */
public class GoodsMessage {

    private String goodsName;

    private Integer goodsCount;

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(Integer goodsCount) {
        this.goodsCount = goodsCount;
    }

    public GoodsMessage() {
    }

    public GoodsMessage(LogisticsGoodsData goodsData) {
        this.goodsName = goodsData.getGoodsName();
        this.goodsCount = Integer.parseInt(goodsData.getGoodsCount());
    }
}
